package com.pureut.storage.mapper;


import com.pureut.storage.domain.order.domain.OrderSupplierManagement;
import com.pureut.storage.domain.order.dto.OrderSupplierManagementDto;
import com.sale.common.mybatis.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 供应商mapper
 */
@Mapper
public interface OrderSupplierManagementMapper extends BaseMapperPlus<OrderSupplierManagementMapper, OrderSupplierManagement, OrderSupplierManagement> {

    /**
     * 根据编码获取供应商信息
     */
    OrderSupplierManagementDto getDataByCode(String supplierNum);

    /**
     * 删除
     */
    int deleteData(@Param("idList") List<String> idList);
}
